package models;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import play.db.ebean.Model;

@Entity
public class SolicitacaoMatricula extends Model{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	public long id;

	@Temporal(TemporalType.DATE)
	public Date dtCadastro;
	
	public boolean status;

	// ------------------relacionamentos---------------------//
	@ManyToOne
	public Turma turma;
	
	@ManyToOne
	public Usuario solicitante;
}
